package com.yd.sdk.pay;

import com.yd.sdk.ad.IAd;

public interface IPay {

    /**
     * 初始化
     * @param ConsumeSku
     * @param NonConsumeSku
     * @param SubsSku
     */
    void Initialized(String ConsumeSku,String NonConsumeSku,String SubsSku);

    /**
     * 购买产品
     * @param productInfo
     */
    void PurchaseProduct(String productInfo);


    /**
     * DISCONNECTED 0
     * CONNECTING   1
     * CONNECTED    2
     * CLOSED       3
     * 获取服务连接状态
     * @return int getConnectionState();
     */
    int GetConnectionState();

    /**
     *  查询购买历史
     */
    void QueryPurchaseHistory();

}
